create vlan exchange tag 100 config vlan exchange add ports 1 tagged 10 config vlan exchange add ports 1 tagged 11 config vpls vsi1 add service vlan exchange
create vlan exchange tag 100 config vlan exchange add ports 1 tagged 10 config l2vpn vpws pw1 add service vlan exchange
VLAN port state is the same as the state of the Ethernet port.
Content of acl.pol
entry tag_1 {
if {
vlan-id 4;
} then {
packet-count tag_1_num_frames;
meter tag_1_meter;
}
}
entry tag_2 {
if {
vlan-id 5;
} then {
byte-count tag_2_num_bytes;
meter tag_2_meter;
}
}
Content of acl_egress.pol
entry tag_1_egr {
if {
vlan-id 4;
} then {
packet-count tag_1_egr_num_frames;
meter tag_1_egr_meter;
}
}
entry tag_2_egr {
if {
vlan-id 5;
} then {
byte-count tag_2_egr_num_bytes;
meter tag_2_egr_meter;
}
}